package com.wolves.career.service;

import com.wolves.career.entity.ProMajor;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wolves.career.entity.vo.MajorQuery;

import java.util.List;

/**
 * <p>
 * 专业 服务类
 * </p>
 *
 * @author 麦翔盛
 * @since 2021-10-31
 */
public interface ProMajorService extends IService<ProMajor> {

    /**
     * 根据专业类id查询专业
     * @param professionId
     * @return
     */
    List<ProMajor> getMajorByProfessionId(String professionId);

    /**
     * 根据视图类查询专业
     * @param majorQuery
     * @return
     */
    List<ProMajor> getMajorByVo(MajorQuery majorQuery);
}
